package com.hd.openapi.dao;

import com.hd.openapi.entity.AdminUser;
import com.hd.openapi.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    AdminUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);

    AdminUser getalldata(@Param ("username") String username);

    List<AdminUser> getadminusre(@Param ("realname") String realName,
                                 @Param ("email") String email,
                                 @Param ("status") Integer status);

    int deleteda(Integer[] ids);

}